<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>Insert title here</title>
<script>
	function callA(){
		android.test("这是js调用android程序");
	}

	function callJS(){
		document.getElementById("data").style.background = "yellow";
	}
</script>
</head>
<body>
	<input type="button" onclick="callA()" value="call android" />
	<input type="button" onclick="callJS()" value="call js" />
	<div id="data">this is a test</div>
</body>
</html>